package com.example.module_word.room;

import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "yinyutingli")
public class Hearing {
    @PrimaryKey(autoGenerate = true)
    public int id;
    public String create_time;
    @NonNull
    public int status;
    public String kind_fst;
    public String kind_scd;
    public String title;
    public String mp3_url;
    public String content;

    public Hearing( String create_time, int status, String kind_fst, String kind_scd, String title, String mp3_url, String content) {
        this.create_time = create_time;
        this.status = status;
        this.kind_fst = kind_fst;
        this.kind_scd = kind_scd;
        this.title = title;
        this.mp3_url = mp3_url;
        this.content = content;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getKind_fst() {
        return kind_fst;
    }

    public void setKind_fst(String kind_fst) {
        this.kind_fst = kind_fst;
    }

    public String getKind_scd() {
        return kind_scd;
    }

    public void setKind_scd(String kind_scd) {
        this.kind_scd = kind_scd;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMp3_url() {
        return mp3_url;
    }

    public void setMp3_url(String mp3_url) {
        this.mp3_url = mp3_url;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
